package com.guli.ware.feign;

import com.guli.ware.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Author zzb
 * @Date 2024/4/17 22:54
 * @Version 1.0
 */
@Repository
@FeignClient("member-service")
public interface MemberFeignService {

    @GetMapping("member/memberreceiveaddress/{memberId}/fare")
    MemberAddressVo getAddressFare(@PathVariable("memberId") Long id);
}
